package com.cskaoyan.service;

import com.cskaoyan.bean.bo.*;

import com.cskaoyan.bean.pojo.*;
import com.cskaoyan.bean.vo.*;
import com.cskaoyan.bean.wxvo.UserIndexVO;

import java.util.List;

public interface MarketManagementService {


    //Category
    List<CategoryVo> getAllCategory();

    List<CategoryL1Vo> getAllCategoryL1();

    boolean deleteCategory(CategoryBo categoryBo);

    boolean updateCategory(CategoryBo categoryBo);


    Category insertNewCategory(Category category);

    //Region
    List<RegionVo> getAllRegion();

    //WxOrder

    OrderListVo getOrderList(OrderListParamBo orderListParamBo);

    OrderDetailVo getOrderDetail(Integer id);

    void giveAShip(OrderShipBO shipBO);

    boolean refundMoney(Integer orderId);

    //issue

    IssueVo getAllIssue(IssueBo issueBo);

    boolean updataIssues(IssuesDeleteBo issueBo);

    Issue createIssues(String question, String answer);

    boolean updateIssues(Issue issue);



    //brand

    BrandVo getBrandList(BrandParamBo brandParamBo);

    Brand addBrand(Brand brand);

    boolean deleteBrand(Brand brand);

    Brand updateBrand(Brand brand);

    //keyword

    KeyWordVO getKeyWord(KeyWordBO keyWordBO);

    Integer delete(Keyword keyword);

    KeyWordRespVO create(KeyWordParamBO keywordParamBO);

    Keyword update(Keyword keyword);

    UserIndexVO selectUserOrderStatus(Integer userId);
}
